﻿#ifndef COMMSIGNALSLOT_H
#define COMMSIGNALSLOT_H

#include <QObject>

class CommSignalSlot : public QObject
{
    Q_OBJECT
public:
    CommSignalSlot();

    static CommSignalSlot* Instance();

    enum logType{
        logSTR = 0,
        logDateTime,
        logHex,
        logHZ
    };

    Q_ENUM(logType);

signals:
    void CommSignalLog(const QString&);

public slots:
    void CommSlotLog(enum logType, const QString&, const QString&);
};

#endif // COMMSIGNALSLOT_H
